<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>我的订单 - 我的电商网站</title>
    <link rel="stylesheet" href="/static/css/style.css">
</head>
<body>
    <header>
        <nav>
            <div class="logo">电商平台</div>
            <ul>
                <li><a href="/">首页</a></li>
                <li><a href="/products">商品</a></li>
                <li><a href="/orders" class="active">我的订单</a></li>
                <li><a href="/profile">个人资料</a></li>
            </ul>
        </nav>
    </header>

    <main>
        <section class="orders-container">
            <h1>我的订单</h1>
            
            <div class="order-tabs">
                <button class="tab-btn active" data-status="all">全部订单</button>
                <button class="tab-btn" data-status="pending">待付款</button>
                <button class="tab-btn" data-status="processing">处理中</button>
                <button class="tab-btn" data-status="shipped">已发货</button>
                <button class="tab-btn" data-status="completed">已完成</button>
                <button class="tab-btn" data-status="cancelled">已取消</button>
            </div>
            
            <div class="orders-list">
                <!-- 订单将通过JavaScript动态加载 -->
                <div class="no-orders">
                    <p>您还没有任何订单</p>
                    <a href="/products" class="btn">去购物</a>
                </div>
            </div>
        </section>
    </main>

    <!-- <footer>
        <p>&copy; 2023 电商平台. 保留所有权利.</p>
    </footer> -->

    <script src="/static/js/orders.js"></script>
</body>
</html>